#include "StdAfx.h"
#include "User.h"


User::User(int id, const string& name, const string& password)
{
	this->userId = id;
	this->userName = name;
	this->password = password;
}


User::~User(void)
{
}

int User::getId() const
{
	return userId;
}

string User::getUserName() const
{
	return userName;
}

string User::getPassword() const
{
	return password;
}

const set<int> User::getMeetingIds() const
{
	return meetingIds;
}

void User::addMeetingId(int id)
{
	meetingIds.insert(id);
}

void User::deleteMeetingId(int id)
{
	meetingIds.erase(id);

	return;
}
